<template>
  <!-- 跟节点 -->
  <div id="">
    <max-img-edit :dataTemp="dataTemplate"></max-img-edit>
  </div>
</template>
<script>
  import MaxImgEdit from '../../components/component/maxImgModul/maxImgEdit.vue'
  export default {
    data() {
      return {
        dataTemplate: {
          'templateSource':qixishuTemplateData,
          "productData": [
            [{
              "template": qixishuTemplateData.bbs0,
              "only": false,
              "firstPage": false,
              "lastPage": true, //最后一页必须有的属性
              "type":"bbs0"
            }],
            [{
              "template": qixishuTemplateData.bbs22,
              "only": false,
              "firstPage": true, //第一页必须有的属性
              "lastPage": false,
              "type":"bbs22"
            }],
            [{
              "template": qixishuTemplateData.bbs4,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs4"
            },
              {
                "template": qixishuTemplateData.bbs7,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs7"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs20,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs20"
            },
              {
                "template": qixishuTemplateData.bbs1,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs1"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs6,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs6"
            },
              {
                "template": qixishuTemplateData.bbs8,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs8"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs21,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs21"
            },
              {
                "template": qixishuTemplateData.bbs1,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs1"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs2,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs2"
            },
              {
                "template": qixishuTemplateData.bbs2,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs2"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs1,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs1"
            },
              {
                "template": qixishuTemplateData.bbs1,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs1"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs15,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs15"
            },
              {
                "template": qixishuTemplateData.bbs5,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs5"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs18,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs18"
            },
              {
                "template": qixishuTemplateData.bbs3,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs3"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs9,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs9"
            },
              {
                "template": qixishuTemplateData.bbs10,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs10"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs1,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs1"
            },
              {
                "template": qixishuTemplateData.bbs1,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs1"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs11,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs11"
            },
              {
                "template": qixishuTemplateData.bbs12,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs12"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs1,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs1"
            },
              {
                "template": qixishuTemplateData.bbs17,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs17"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs1,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs1"
            },
              {
                "template": qixishuTemplateData.bbs19,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs19"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs13,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs13"
            },
              {
                "template": qixishuTemplateData.bbs1,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs1"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs14,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs14"
            },
              {
                "template": qixishuTemplateData.bbs20,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs20"
              }
            ],
            [{
              "template": qixishuTemplateData.bbs21,
              "only": false,
              "firstPage": false,
              "lastPage": false,
              "type":"bbs21"
            },
              {
                "template": qixishuTemplateData.bbs100,
                "only": false,
                "firstPage": false,
                "lastPage": false,
                "type":"bbs100"
              }
            ]
//						[{
//							"template": qixishuTemplateData.bbs21,
//							"only": false,
//							"firstPage": false,
//							"lastPage": true, //最后一页必须有的属性
//              "type":"bbs21"
//						}]
          ], //产品需要的数据
          'lomoData_template': [], //lomo卡需要的数据
          'templateImgData': qixirightImage
        }
      }
    },
    //		beforeRouteEnter(to,from,next){//路由钩子函数
    //			console.log(to)
    //			console.log(from)
    //			next()
    //		},
    components: { //引入组件

      "max-img-edit": MaxImgEdit
    },
    methods: { //执行的方法函数

    },
    created() { //只执行一次

    },
    mounted() { //全部渲染完毕

    }
  }
</script>

<style>

</style>
